#安装nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
#添加环境变量
# export NVM_DIR="$HOME/.nvm"
# nvm() { . "$NVM_DIR/nvm.sh" ; nvm $@ ; }